package com.yh.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yh.entity.SysPermission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yh.entity.vo.MenuVO;

import java.util.List;

/**
 * <p>
 * 权限表 权限表 服务类
 * </p>
 *
 * @author yh
 * @since 2021-04-06
 */
public interface ISysPermissionService extends IService<SysPermission> {

    SysPermission createPermission(SysPermission sysPermission);

    SysPermission updatePermission(SysPermission sysPermission);

    SysPermission getInfo(Long id);

    Page<SysPermission> getPage(Integer pageNum, Integer pageSize);

    List<MenuVO> getMenus();
}
